import { ADD } from './constants'
export default function zsReducer(state = { c: 0 }, action) {
  switch (action.type) {
    case ADD:
      return {
        ...state,
        c: state.c + 1,
      }

    default:
      return state
  }
}
